package org.dromara.system.domain.bo;

import org.dromara.system.domain.WbTestEquipment;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 试验检测设备业务对象 wb_test_equipment
 *
 * @author Lion Li
 * @date 2024-03-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = WbTestEquipment.class, reverseConvertGenerate = false)
public class WbTestEquipmentBo extends BaseEntity {

    /**
     * 试验检测设备ID
     */
    @NotNull(message = "试验检测设备ID不能为空", groups = { EditGroup.class })
    private Long id;

    private Long companyId;


    private String companyName;


    private String testEquipmentModel;

    /**
     * 试验设备名称
     */
    private String testEquipmentName;

    /**
     * 数量
     */
    private String testEquipmentNumber;

    /**
     * 计量单位
     */
    private String measurementUnit;

    /**
     * 数据标记：0无效，1有效
     */
    private String dataTagging;

}
